<?php

namespace app\models;

use Yii;
use yii\base\Model;

/**
 * ContactForm is the model behind the contact form.
 */
class KlineConfigForm extends Model
{
  public $k_min_y;
  public $k_max_y;
  public $jyrs;
  public $jyl;


    /**
     * @return array the validation rules.
     */
    public function rules()
    {
        return [
            [['k_min_y', 'k_max_y','jyrs', 'jyl'], 'number'],
        ];
    }

    /**
     * @return array customized attribute labels
     */
     public function attributeLabels()
     {
         return [
             'k_min_y' => 'K线图纵坐标下限值',
             'k_max_y' => 'K线图纵坐标上限值',
             'jyrs' => '交易人数（万）',
             'jyl' => '交易量（亿元）'
         ];
     }

}
